﻿<UserControl x:Class="Enough.Lego.Mindstorms.WP.Controls.Joystick"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">

    <Grid x:Name="LayoutRoot" >

        <Ellipse x:Name="ellipseMain" />

        <Grid x:Name="ellipseButton" HorizontalAlignment="Center" VerticalAlignment="Center" Width="100" Height="100" >
            <Image Source="../Assets/joystick.png" />
        </Grid>

        <Ellipse Fill="#00FFFFFF" x:Name="ellipseSense" ManipulationStarted="ellipseSense_ManipulationStarted" ManipulationCompleted="ellipseSense_ManipulationCompleted" />

        </Grid>
</UserControl>